<template>
	<view class="content">
		<rich-text class="detail" :nodes="customWebSite.serviceAgreement"></rich-text>
	</view>
</template>
<script>
	import customConfig from '@/custom-config.js'
	export default {
		data() {
			return {
				title: '',
				customInfo: {},
				customWebSite: {}
			}
		},
		onLoad() {

		},
		onShow() {
			this.getCustom()
		},
		methods: {
			toUrl() {
				uni.navigateTo({
					url: '/pages/empower/index'
				})
			},
			getCustom() {
				var _this = this;
				uni.showLoading({
					title: '加载中'
				})
				_this.$httpSend({
					path: '/api/v1/alipay/Custom/getInfo',
					complete() {

					},
					success: (data) => {
						_this.customInfo = data.info
						_this.customWebSite = data.webSite
					}
				});
			}
		}
	}
</script>

<style>
	.content {
		padding: 15px;
	}
</style>